﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CompanyManageSystem.Model
{
    [Table("PurchaseStorageOrder")]
    public class PurchaseStorageOrder : BaseEntity
    {
        /// <summary>
        /// 订单号
        /// </summary>
        public string OrderNum { get; set; }
        /// <summary>
        /// 供应商ID
        /// </summary>
        public Guid SupplierID { get; set; }
        /// <summary>
        /// 入库时间
        /// </summary>
        public DateTime StorageTime { get; set; }
        /// <summary>
        /// 结算方式
        /// </summary>
        public string Style { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 制单时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 制单人
        /// </summary>
        public string Creator { get; set; }
        /// <summary>
        /// 审批时间
        /// </summary>
        public DateTime ExamineTime { get; set; }
        /// <summary>
        /// 审批人
        /// </summary>
        public string ExamineMan { get; set; }
        /// <summary>
        /// 审批(0:未审批 1:已审批)
        /// </summary>
        public string Examine { get; set; }

        [NotMapped]
        public bool IsChecked { get; set; }
    }
}
